<?php

namespace ChannelThrift\Model\Aums;

// use Base\Model\CommonModel;

class CarModel extends CommonModel {

    protected $trueTableName = 'au_cars';
    protected $connection = 'DB_AUMS';
    // protected $tablePrefix = 'au_';

    /* 自动验证规则 */
    protected $_validate = array(

    );

    /* 模型自动完成 */
    protected $_auto = array(

    );

    //'数据表字段'=>'表单字段'
    protected $_map = array(
    );

    protected $fields = array(
        'car_id',
        'car_no',
        'sid',
        'sno',
        'mbrand_id',
        'brand_id',
        'series_id',
        'model_id',
        'custom_model',
        'owner_id',
        'car_status',
        'remark',
        'modify_time',
        'posttime',
        'first_reg_date',
        'composite_state',
        'accident_level',
        'history_state',
        'pointer_mileage',
        'ex_factory_date',
        'reg_city',
        'reg_area',
        'emission',
        'car_cc',
        'turbo',
        'gearbox',
        'drive_method',
        'fuel_type',
        'car_color',
        'engine_no',
        'cur_use_type',
        'use_properties',
        'location_area',
        'transfer_limit',
        'vin',
        'plate_prefix',
        'plate_suffix',
        'au_times',
        'unsold_times',
        'bid_best_price',
        'suggest_max_price',
        'suggest_min_price',
        'price_emp_id',
        'price_time',
        'reserve_price',
        'show_reserve_price',
        'is_proto_uploaded',
        'view',
        'carrying_num',
        'tyre_type',
        'is_imported',
        'transfer_times',
        'brand_model',
        'get_method',
        'car_type',
        're_auction_type',
        're_auction_reason',
        'success_price',
        'first_money',
        'reserve_price_history',
        'mot',
        'car_source',
        'peccancy',
        'three_in_one',
        'tail_money',
        'pay_status',
        'bid_up_price',
        'cut_down_price',
        'is_game_over',
        'bargain_limit',
        'bargain_price_min',
        'bargain_price_max',
        'audit_emp_id',
        'audit_time',
        'damage_pics',
        'deal_type',
        'fail_type',
        'is_dealer_breach',
        'is_self_receive',
        'self_receive_dealer_id',
        'self_receive_price',
        'delivery_mode',
        'is_valid',
        'check_fee',
        'suggest_bid_start_price',
        'last_transfer_time',
        'old_reg_province',
        'old_reg_city',
        'old_use_type',
        'report_tmplate_version',
        '_pk'=>'car_id',
        '_type'=>array(
            'car_id'=>'int',
        ),
    );


    protected $_scope = array(
    );



}

